fix(ui) latex dollar render - #38829
Conversation
|
Hey! Your PR title Please update it to start with one of:
Where See CONTRIBUTING.md for details. |
|
Thanks for updating your PR! It now meets our contributing guidelines. 👍 |
|
The following comment was made by an LLM, it may be inaccurate: Based on my search, I found a potentially related PR: Related PR:
This PR is related because it addresses LaTeX display math rendering with No duplicate PRs found. |
|
Automated PR Cleanup Thank you for contributing to opencode. Due to the high volume of PRs from users and AI agents, we periodically close older PRs using automated criteria so maintainers can focus review time on the most active and community-supported contributions. This PR was closed because it matched the following cleanup criteria:
PRs created within the last month are not affected by this cleanup. If you believe this PR was closed incorrectly, or if you are still actively working on it, please leave a comment explaining why it should be reopened. A maintainer can review and reopen it if appropriate. Thanks again for taking the time to contribute. |
Issue for this PR
Closes #37326, #38030
Type of change
What does this PR do?
#34850 intentionally removed bare
$...$math to avoid false positives in currency and code, but its block rule also stopped matching single-line$$...$$.This PR keeps bare
$...$disabled and adds display-math support for:$$...$$, single or multi-line\[...\], single or multi-lineExisting
\(...\)inline math remains unchanged.How did you verify your code works?
(Verification)
bun typecheckinpackages/uibun testinpackages/ui(9 passing)Screenshots / recordings
Checklist